Vcenter Vm Guest Filesystem Transfers FileCreationAttributes

Vcenter Vm Guest Filesystem Transfers FileCreationAttributes
Vcenter Vm Guest Filesystem Transfers FileCreationAttributes

The Vcenter Vm Guest Filesystem Transfers FileCreationAttributes schema describes file attributes used when transferring a file into the guest.

This schema was added in vSphere API 7.0.2.0.

JSON Example
{
    "size": 0,
    "overwrite": false,
    "last_modified": "string",
    "last_accessed": "string",
    "windows": {
        "hidden": false,
        "read_only": false
    },
    "posix": {
        "owner_id": 0,
        "group_id": 0,
        "permissions": "string"
    }
}
integer As int64 As int64
size
Required

The size in bytes of the file to be transferred into the guest.

This property was added in vSphere API 7.0.2.0.

boolean
overwrite
Optional

Whether an existing file should be overwritten.

This property was added in vSphere API 7.0.2.0.

If missing or null any existing file will not be overwritten.

string As date-time As date-time
last_modified
Optional

The date and time the file was last modified.

This property was added in vSphere API 7.0.2.0.

If missing or null the value will be the time when the file is transferred into the guest.

string As date-time As date-time
last_accessed
Optional

The date and time the file was last accessed.

This property was added in vSphere API 7.0.2.0.

If missing or null the value will be the time when the file is transferred into the guest.

windows
Optional

Windows-specific file creation information.

This property was added in vSphere API 7.0.2.0.

If missing or null, the behavior is equivalent to a Vcenter Vm Guest Filesystem Transfers WindowsFileAttributesCreateSpec with all properties missing or null which means the defaults are used. May only be set if the guest operating system is Windows.

posix
Optional

Posix-specific file creation information.

This property was added in vSphere API 7.0.2.0.

If missing or null, the behavior is equivalent to a Vcenter Vm Guest Filesystem Transfers PosixFileAttributesCreateSpec with all properties missing or null which means the defaults are used. May only be set if the guest operating system is Posix.